package com.bbcare.followup.plat.entity;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 * @name: fu_taskrule_info随访任务规则实体类
 * @author: DemonLee
 * @createTime: 2017.7.1
 * @description: 随访任务规则配置，目前主要是线上主诉登记使用
 * @modify:
 * 
 */

@Entity
public class FuTaskRule implements Serializable {
    private static final long serialVersionUID = 1L;

    // 规则模板id
    private String id;
    // 任务id
    private String taskId;
    // 主诉登记规则：0 通用任务内容，整个周期内都是相同的问卷；1 月龄规则，每个月龄的主诉登记内容不相同......待扩展
    private String ruleType;
    // 方案id
    private String schemeId;
    // 方案版本id
    private String schemeVersionid;
    // 创建时间
    private String createTime;
    // 更新时间
    private String updateTime;
    // 操作流水
    private String updateAccept;
    // 创建人id
    private String authorId;
    // 优先级，升序排
    private int priorityNo;
    // 距离多少天开始执行，如距离出生日期31天开始执行
    private int beginDay;
    // 距离多少天结束执行，如距离出生日期60天结束执行
    private int endDay;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }

    public String getRuleType() {
        return ruleType;
    }

    public void setSchemeId(String schemeId) {
        this.schemeId = schemeId;
    }

    public String getSchemeId() {
        return schemeId;
    }

    public void setSchemeVersionid(String schemeVersionid) {
        this.schemeVersionid = schemeVersionid;
    }

    public String getSchemeVersionid() {
        return schemeVersionid;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateAccept(String updateAccept) {
        this.updateAccept = updateAccept;
    }

    public String getUpdateAccept() {
        return updateAccept;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setPriorityNo(int priorityNo) {
        this.priorityNo = priorityNo;
    }

    public int getPriorityNo() {
        return priorityNo;
    }

    public void setBeginDay(int beginDay) {
        this.beginDay = beginDay;
    }

    public int getBeginDay() {
        return beginDay;
    }

    public void setEndDay(int endDay) {
        this.endDay = endDay;
    }

    public int getEndDay() {
        return endDay;
    }
}
